import type { Metadata } from "next";
import { Nunito } from "next/font/google";
import "./globals.scss";
import Header from "@/components/shared/header/Header";

const nunito = Nunito({
  subsets: ['cyrillic'],
  variable: '--font-nunito',
  weight: ['400', '500', '600', '700', '800', '900'],
});


export const metadata: Metadata = {
  title: "Abstract Next App | Главная",
  description: "Generated by create next app",
};


export default function RootLayout({
  children,
}: Readonly<{
  children: React.ReactNode;
}>) {
  return (
    <html lang="en">
      <body className={nunito.className}>
        <main className={"wrapper"} >
          <Header className={nunito.className}/>
          {children}
        </main>
      </body>
    </html>
  );
}
